package com.hfi.adapter.ObjectAdapter;

import com.hfi.adapter.Adaptee;
import com.hfi.adapter.Target;

/**
 * @author ChangLiang
 * @date 2020/4/26
 */
public class Adapter implements Target {

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void MyOutput() {
        adaptee.Output();
    }
}
